﻿using Cofe.Core.Property;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;

namespace Cofe.Core.Security
{
    public class PathPermissionPolicy : GenericPermissionPolicy         
    {
        #region Constructor

        public PathPermissionPolicy(string[] requireRole, string[] pathPatterns, 
            PermissionType permission = PermissionType.All)
            : base(requireRole, CofeProperties.FullParseName, pathPatterns, permission)
        {            
        }

        public PathPermissionPolicy(string[] requireRole, string pathPattern,
            PermissionType permission = PermissionType.All)
            : this(requireRole, new string[] { pathPattern }, permission)
        {
        }

        #endregion

        #region Methods

        #endregion

        #region Data

        #endregion

        #region Public Properties



        #endregion
    }
}
